<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<style type="text/css">

body {
	background-color: #808080;
}

#tb-border {
border:1px solid blue;

border-collapse: collapse;
}
#tb-border caption {
font-family: "新細明體";
font-weight: bold;
font-size: 15px;
background-color:#0066FF;
border:1px solid blue;
text-align: left;
color: #ffffff;
padding: 10px;
margin: 2px;
}
#tb-border th {
font-size: 13px;
font-weight: bold;
color: #fff;
text-align: center;
padding: 3px;
margin: 2px;
background-color: #678240; 
}
#tb-border td {
font-family: "Arial";
font-size: 13px;
color: #000000;
text-align: left;
padding: 2px;
margin: 0px;
background-color: #ECE9D8; 

}
#tb-border-2 {
width: 100%; 
border-collapse: separate;
margin: 10px;	
//border-bottom: 1px solid  #bbb;
}
#tb-border-2 caption {
font-family: "Century Gothic";
font-size: 16px;
color: #678240;
padding: 2px;
margin: 0px;
}
#tb-border-2 th {
font-size: 13px;
font-weight: bold;
color: #fff;
text-align: center;
padding: 3px;
margin: 0px;
background-color: #678240; 
border: 1px solid  #678240;
}
#tb-border-2 td {
font-family: "Arial";
font-size: 13px;
color: #555;
text-align: center;
padding: 2px;
margin: 0px;
background-color: #fff; 
border: 1px solid  #678240;
}
</style>


<SCRIPT language=javascript>

function getfocus() {
     document.thisform.elements(0).focus();
}

function datacheck()
{
  if(thisform.no.value=="") 
 {window.alert("請 輸 入 用 戶 名 稱 !");
   document.thisform.elements(0).focus();
   return false;
  }
  if(thisform.passwd.value=="")
 {window.alert("請 輸 入 密 碼 !");
   document.thisform.elements(1).focus();
   return false;
  }

  return true;
}
</SCRIPT>
<BODY onload="getfocus();history.go(+1)" >
<p align="center" class="title"><br><br><br><br><br><br>
<center>
<form name=thisform action=login method=post onsubmit="return datacheck()">
  <table id="tb-border">
    <caption>培 訓 課 程</caption>    
    <tr>
      <td height="50" width="100" valign="bottom">　Username：</td>
      <td width="200" valign="bottom"><input type=text name=loguser size=15></td>
    </tr>
    <tr>
      <td>　Password：</td>
      <td><input type=password name=logpwd size=15></td>
    </tr>
    <tr>
      <td></td>
      <td height="50"><input type=submit value="connect" name="submit"></td>
    </tr>
  </table>
  </form>
</center>
</body>
</HTML>
